package cn.iocoder.yudao.module.game.service.withdrawnRecord;

import java.util.*;
import javax.validation.*;
import cn.iocoder.yudao.module.game.controller.admin.withdrawnRecord.vo.*;
import cn.iocoder.yudao.module.game.dal.dataobject.withdrawnRecord.WithdrawnRecordDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;

/**
 * 待提现 Service 接口
 *
 * @author 芋道源码
 */
public interface WithdrawnRecordService {

    /**
     * 创建待提现
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createWithdrawnRecord(@Valid WithdrawnRecordSaveReqVO createReqVO);

    /**
     * 更新待提现
     *
     * @param updateReqVO 更新信息
     */
    void updateWithdrawnRecord(@Valid WithdrawnRecordSaveReqVO updateReqVO);

    /**
     * 删除待提现
     *
     * @param id 编号
     */
    void deleteWithdrawnRecord(Long id);

    /**
     * 获得待提现
     *
     * @param id 编号
     * @return 待提现
     */
    WithdrawnRecordDO getWithdrawnRecord(Long id);

    /**
     * 获得待提现分页
     *
     * @param pageReqVO 分页查询
     * @return 待提现分页
     */
    PageResult<WithdrawnRecordDO> getWithdrawnRecordPage(WithdrawnRecordPageReqVO pageReqVO);

}